Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cynthion: init at 0.1.7 #353392

Merged
merged 6 commits into from
Nov 19, 2024
Merged

cynthion: init at 0.1.7 #353392

merged 6 commits into from
Nov 19, 2024

Conversation

carlossless
Copy link
Contributor

@carlossless carlossless commented Nov 3, 2024

Python package and utilities for the Great Scott Gadgets Cynthion USB Test Instrument https://github.com/greatscottgadgets/cynthion

Packages (dependencies) also included in this PR:

  • python312Packages.usb-protocol: init at 0.9.1
  • python312Packages.apollo-fpga: init at 1.1.0
  • python312Packages.luna-usb: init at 0.1.2
  • python312Packages.luna-soc: init at 0.2.0

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@carlossless carlossless force-pushed the packages/cynthion branch 2 times, most recently from ff4bf2a to b85b818 Compare November 3, 2024 14:55
@carlossless carlossless force-pushed the packages/cynthion branch 4 times, most recently from 175fdfa to 7849b81 Compare November 4, 2024 20:30
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 11-100 10.rebuild-linux: 11-100 labels Nov 5, 2024
@carlossless carlossless force-pushed the packages/cynthion branch 6 times, most recently from 1806bf8 to 931a394 Compare November 11, 2024 17:43
Copy link
Contributor Author

@carlossless carlossless left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to the question in the line comments, I'm not sure what would be the required way to merge all of these dependency packages. Should they be separate PRs; or separate commits in this single PR; or it's fine to keep this PR single-commit (which was the least effort)

Guidance here would be appreciated!

pkgs/development/python-modules/cynthion/default.nix Outdated Show resolved Hide resolved
pkgs/development/python-modules/luna-usb/default.nix Outdated Show resolved Hide resolved
@carlossless carlossless marked this pull request as ready for review November 12, 2024 19:05
@nix-owners nix-owners bot requested a review from natsukium November 12, 2024 19:06
@natsukium
Copy link
Member

In addition to the question in the line comments, I'm not sure what would be the required way to merge all of these dependency packages. Should they be separate PRs; or separate commits in this single PR; or it's fine to keep this PR single-commit (which was the least effort)

Please separate commits in this one PR. Thanks.

@carlossless
Copy link
Contributor Author

@natsukium I made the changes, please have a look when you can! ~Thanks!

Copy link
Member

@natsukium natsukium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks mostly good.
I left some comments, but they are trivial.

pkgs/development/python-modules/luna-soc/default.nix Outdated Show resolved Hide resolved
pkgs/development/python-modules/usb-protocol/default.nix Outdated Show resolved Hide resolved
pkgs/development/python-modules/cynthion/default.nix Outdated Show resolved Hide resolved
Copy link
Member

@natsukium natsukium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks. I'll merge when ofborg-eval is finished.

@carlossless
Copy link
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 353392


x86_64-linux

⏩ 12 packages marked as broken and skipped:
  • python311Packages.cynthion
  • python311Packages.cynthion.dist
  • python311Packages.luna-soc
  • python311Packages.luna-soc.dist
  • python311Packages.luna-usb
  • python311Packages.luna-usb.dist
  • python312Packages.cynthion
  • python312Packages.cynthion.dist
  • python312Packages.luna-soc
  • python312Packages.luna-soc.dist
  • python312Packages.luna-usb
  • python312Packages.luna-usb.dist
✅ 10 packages built:
  • cynthion
  • cynthion.dist
  • python311Packages.apollo-fpga
  • python311Packages.apollo-fpga.dist
  • python311Packages.usb-protocol
  • python311Packages.usb-protocol.dist
  • python312Packages.apollo-fpga
  • python312Packages.apollo-fpga.dist
  • python312Packages.usb-protocol
  • python312Packages.usb-protocol.dist

aarch64-linux

⏩ 12 packages marked as broken and skipped:
  • python311Packages.cynthion
  • python311Packages.cynthion.dist
  • python311Packages.luna-soc
  • python311Packages.luna-soc.dist
  • python311Packages.luna-usb
  • python311Packages.luna-usb.dist
  • python312Packages.cynthion
  • python312Packages.cynthion.dist
  • python312Packages.luna-soc
  • python312Packages.luna-soc.dist
  • python312Packages.luna-usb
  • python312Packages.luna-usb.dist
✅ 10 packages built:
  • cynthion
  • cynthion.dist
  • python311Packages.apollo-fpga
  • python311Packages.apollo-fpga.dist
  • python311Packages.usb-protocol
  • python311Packages.usb-protocol.dist
  • python312Packages.apollo-fpga
  • python312Packages.apollo-fpga.dist
  • python312Packages.usb-protocol
  • python312Packages.usb-protocol.dist

x86_64-darwin

⏩ 12 packages marked as broken and skipped:
  • python311Packages.cynthion
  • python311Packages.cynthion.dist
  • python311Packages.luna-soc
  • python311Packages.luna-soc.dist
  • python311Packages.luna-usb
  • python311Packages.luna-usb.dist
  • python312Packages.cynthion
  • python312Packages.cynthion.dist
  • python312Packages.luna-soc
  • python312Packages.luna-soc.dist
  • python312Packages.luna-usb
  • python312Packages.luna-usb.dist
✅ 10 packages built:
  • cynthion
  • cynthion.dist
  • python311Packages.apollo-fpga
  • python311Packages.apollo-fpga.dist
  • python311Packages.usb-protocol
  • python311Packages.usb-protocol.dist
  • python312Packages.apollo-fpga
  • python312Packages.apollo-fpga.dist
  • python312Packages.usb-protocol
  • python312Packages.usb-protocol.dist

aarch64-darwin

⏩ 12 packages marked as broken and skipped:
  • python311Packages.cynthion
  • python311Packages.cynthion.dist
  • python311Packages.luna-soc
  • python311Packages.luna-soc.dist
  • python311Packages.luna-usb
  • python311Packages.luna-usb.dist
  • python312Packages.cynthion
  • python312Packages.cynthion.dist
  • python312Packages.luna-soc
  • python312Packages.luna-soc.dist
  • python312Packages.luna-usb
  • python312Packages.luna-usb.dist
✅ 10 packages built:
  • cynthion
  • cynthion.dist
  • python311Packages.apollo-fpga
  • python311Packages.apollo-fpga.dist
  • python311Packages.usb-protocol
  • python311Packages.usb-protocol.dist
  • python312Packages.apollo-fpga
  • python312Packages.apollo-fpga.dist
  • python312Packages.usb-protocol
  • python312Packages.usb-protocol.dist

@natsukium natsukium merged commit b0afbd8 into NixOS:master Nov 19, 2024
27 of 28 checks passed
@carlossless carlossless deleted the packages/cynthion branch November 19, 2024 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: python 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 11-100 10.rebuild-linux: 11-100 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants